package com.zxw.java基础.Integer;

/**
 * @projectName: util-cloud
 * @package: com.zxw.java基础.Integer
 * @className: Test
 * @author: zhangxuewei
 * @description:
 * @date: 2024/8/8 9:59
 * @version: 1.0
 */
public class Test {
    public static void main(String[] args) {
        Integer a = 1888;
        Integer b = 1888;
        System.out.println(a == b);
        System.out.println(a.equals(b));

        Integer c = 18;
        Integer d = 18;
        System.out.println(c == d);
        System.out.println(c.equals(d));


        int a1 = 19;
        int a2 = 19;
        System.out.println(a1 == a2);
    }
}
